package fons.navigator.load.plugin;

import fons.model.ontology.Context;
import fons.model.ontology.AbstractContextDependent;
import fons.navigator.util.settings.Configurable;
import fons.navigator.util.settings.Configuration;

public abstract class DataConverter extends AbstractContextDependent implements Configurable {
	private Configuration configuration = null;
	
	public DataConverter(Context context) {
		super(context);
	}
	
	public abstract void read ();
	public abstract void save ();
		
	@Override
	public final Configuration getConfiguration() {
		if (configuration == null) configuration = getDefaultConfiguration();
		return configuration;
	}
}
